home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 July
/
CMCD0704.ISO
/
Software
/
Shareware
/
Comunicatii
/
jaeger
/
jaeger.exe
/
{app}
/
Tools
/
ToolWaypathPostAnalysis.py
< prev
Wrap
Text File
|
2004-03-27
|
652b
|
33 lines
#!/bin/python
"""
ToolWaypathPostAnalysis.py
David Janes
BlogMatrix
2004.02.12
"""
import sys
import urllib
import Tool
class ToolWaypathPostAnalysis(Tool.ToolInterface):
"""
The interface for your tool. Simply create an instance of this object and Jaeger
will figure it out.
"""
def __init__(self):
Tool.ToolInterface.__init__(self)
def get_label(self, selected):
return "Waypath Post Analysis"
def invoke(self, selected, operations):
operations.open_url("http://www.waypath.com/query?type=url&key=" + \
urllib.quote(selected.url))
#
# creating it will register it
#
ToolWaypathPostAnalysis()